home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / libx11 / include / x11 / xprotostr.h < prev    next >
C/C++ Source or Header  |  1999-01-01  |  2KB  |  56 lines

  1. /* $XConsortium: Xprotostr.h,v 1.4 91/03/13 20:09:34 rws Exp $ */
  2. #ifndef XPROTOSTRUCTS_H
  3. #define XPROTOSTRUCTS_H
  4.  
  5. /***********************************************************
  6. Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
  7. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  8.  
  9.                         All Rights Reserved
  10.  
  11. Permission to use, copy, modify, and distribute this software and its 
  12. documentation for any purpose and without fee is hereby granted, 
  13. provided that the above copyright notice appear in all copies and that
  14. both that copyright notice and this permission notice appear in 
  15. supporting documentation, and that the names of Digital or MIT not be
  16. used in advertising or publicity pertaining to distribution of the
  17. software without specific, written prior permission.  
  18.  
  19. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  20. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  21. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  22. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  23. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  24. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  25. SOFTWARE.
  26.  
  27. ******************************************************************/
  28. #include <X11/Xmd.h>
  29.  
  30. /* Used by PolySegment */
  31.  
  32. typedef struct _xSegment {
  33.     INT16 x1 B16, y1 B16, x2 B16, y2 B16;
  34. } xSegment;
  35.  
  36. /* POINT */
  37.  
  38. typedef struct _xPoint {
  39.     INT16        x B16, y B16;
  40. } xPoint;
  41.  
  42. typedef struct _xRectangle {
  43.     INT16 x B16, y B16;
  44.     CARD16  width B16, height B16;
  45. } xRectangle;
  46.  
  47. /*  ARC  */
  48.  
  49. typedef struct _xArc {
  50.     INT16 x B16, y B16;
  51.     CARD16   width B16, height B16;
  52.     INT16   angle1 B16, angle2 B16;
  53. } xArc;
  54.  
  55. #endif /* XPROTOSTRUCTS_H */
  56.